//
//  EnterpriseSecondLevelData.swift
//  YiYaoHui
//
//  Created by HM on 16/1/18.
//  Copyright © 2016年 EgeTart. All rights reserved.
//

import Foundation

class EnterpriseSecondLevelMedicine {
    
    var enterpriseSecondLevelParentID = "" //中药：3 ； 西药4
    var enterpriseSecondLevelMedicineName = ""
    var enterpriseSecondLevelID = "" //作为forth level的parent id
    
    init(enterpriseSecondLevelMedicine: Dictionary<String, AnyObject>) {

     enterpriseSecondLevelParentID = (enterpriseSecondLevelMedicine["parentId"]?.description)!
     enterpriseSecondLevelMedicineName = enterpriseSecondLevelMedicine["name"] as! String
     enterpriseSecondLevelID = (enterpriseSecondLevelMedicine["id"]?.description)!
    
    
    }
}